package otcv.hr.exception;

/**
 * @author : H-Thien
 * @comment : Common Exception
 */
public class CommonException extends Exception {

	private String errMsg;

	/**
	 * @comment :
	 */
	public CommonException() {
		super();
	}

	/**
	 * @comment :
	 */
	public CommonException(String message, Throwable cause) {
		super(message, cause);
		errMsg = message;
	}

	/**
	 * @comment :
	 */
	public CommonException(String message) {
		super(message);
		errMsg = message;
	}

	/**
	 * @comment :
	 */
	public CommonException(Throwable cause) {
		super(cause);
	}

	/**
	 * @comment :
	 */
	public String getErrMsg() {
		return errMsg;
	}
}